package com.wl.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
 * 监听器
 * @author wl
 *
 */
@WebListener
public class ContextListener implements ServletContextListener {
	
	Logger log = LoggerFactory.getLogger(ContextListener.class);

    public void contextInitialized(final ServletContextEvent sce) {
    	System.out.println("---------------------监听器初始化------------------");
    }

    public void contextDestroyed(final ServletContextEvent sce) {
    	
    }
}

